﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="FileConvertPdfSystemWeb.Register" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 100%">
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="left" style="width: 80px">
                <asp:Label ID="Label1" runat="server" Text="用户名："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtName" runat="server"></asp:TextBox>
                <asp:Button ID="BtnCheckUser" runat="server" Text="检测用户名" 
                    onclick="BtnCheckUser_Click" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="TxtName" Display="Dynamic" ErrorMessage="用户名不能为空！" 
                    ForeColor="#FF3300"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="left" style="width: 80px">
                <asp:Label ID="Label2" runat="server" Text="用户密码："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtPassword" runat="server" TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="height: 17px; width: 367px">
            </td>
            <td align="left" style="height: 17px; width: 80px">
                <asp:Label ID="Label3" runat="server" Text="确认密码："></asp:Label>
            </td>
            <td style="height: 17px">
                <asp:TextBox ID="TxtPassword1" runat="server" TextMode="Password"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="TxtPassword" ControlToValidate="TxtPassword1" 
                    Display="Dynamic" ErrorMessage="两次输入的密码不一致！" ForeColor="#FF3300"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="left" style="width: 80px">
                <asp:Label ID="Label4" runat="server" Text="真实名字："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtTureName" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="left" style="width: 80px">
                <asp:Label ID="Label10" runat="server" Text="性  别："></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="DpSex" runat="server">
                    <asp:ListItem>男</asp:ListItem>
                    <asp:ListItem>女</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="left" style="width: 80px">
                <asp:Label ID="Label5" runat="server" Text="密码问题："></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="DpPasswordQuest" runat="server">
                    <asp:ListItem>1.你出生的城市？</asp:ListItem>
                    <asp:ListItem>2.你的学号？</asp:ListItem>
                    <asp:ListItem>3.你喜欢的动物？</asp:ListItem>
                    <asp:ListItem Value="4.你最想去的地方？">4.你最想去的地方？</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="left" style="width: 80px">
                <asp:Label ID="Label6" runat="server" Text="密保答案："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtQuestAnsWer" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="left" style="width: 80px">
                <asp:Label ID="Label7" runat="server" Text="居住城市："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtLiveCity" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="left" style="width: 80px">
                <asp:Label ID="Label8" runat="server" Text="Email："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtEmail" runat="server"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="TxtEmail" Display="Dynamic" ErrorMessage="输入的Email格式不正确！" 
                    ForeColor="#FF3300" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="left" style="width: 80px">
                <asp:Label ID="Label9" runat="server" Text="联系电话："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtPostCode" runat="server"></asp:TextBox>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                    ControlToValidate="TxtPostCode" ErrorMessage="输入的电话号码格式不正确！" 
                    ForeColor="#FF3300" ValidationExpression="(\(\d{3}\)|\d{3}-)?\d{8}"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="left" style="width: 80px">
                <asp:Label ID="Label11" runat="server" Text="手  机："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtPhone" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="left" style="width: 80px">
                <asp:Label ID="Label12" runat="server" Text="联系地址："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtAddress" runat="server" Height="81px" TextMode="MultiLine" 
                    Width="341px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="left" style="width: 80px">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="center" style="width: 80px">
                <asp:Button ID="BtnRegiste" runat="server" onclick="BtnRegiste_Click" 
                    Text="确  认" />
            </td>
            <td>
                <asp:Button ID="Button3" runat="server" Text="取  消" />
            </td>
        </tr>
        <tr>
            <td style="width: 367px">
                &nbsp;</td>
            <td align="left" style="width: 80px">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
